package cn.kgc.service.impl;

import cn.kgc.dao.PositionDao;
import cn.kgc.pojo.Position;
import cn.kgc.service.PositionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: yy
 * @date: 2022/2/15
 * @description:
 */
@Service
public class PositionServiceImpl implements PositionService {
    @Resource
    private PositionDao pd;

    @Override
    public List<Position> sel(Integer positionid,String name,Integer departmentid) {
        return pd.sel(positionid,name,departmentid);
    }

    @Override
    public Position chaPyy(int positionid) {
        return pd.chaPyy(positionid);
    }
}
